package com.wanmait.recruit.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.recruit.mapper.WorkTimeMapper;
import com.wanmait.recruit.pojo.WorkTime;
import com.wanmait.recruit.service.WorkTimeService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service("workTimeService")
@Transactional(rollbackFor = Exception.class)
public class WorkTimeServiceImpl implements WorkTimeService {

    @Resource
    WorkTimeMapper workTimeMapper;

    @Override
    public List<WorkTime> findAll() {
        return workTimeMapper.findAll();
    }

    @Override
    public void insert(WorkTime object) {

    }

    @Override
    public void delete(WorkTime object) {

    }

    @Override
    public void update(WorkTime object) {

    }

    @Override
    public PageInfo<WorkTime> search(int pageNum, int pageSize) {
        return null;
    }
}
